#!/bin/bash
# Zaitan Module - CodeBlocks Install
# Zaitan Team <http://code.google.com/p/zaitan/>

RMOD_ENGINE='1.0'
RMOD_CATEGORY='Software'
RMOD_SUBCATEGORY='Developed'
RMOD_NAME='CodeBlocks'
RMOD_AUTHOR='Zaitan Team'
RMOD_VERSION='3893_SVN'
RMOD_DESCRIPTION='Installs CodeBlocks'
RMOD_UPDATE_URL='http://code.google.com/p/zaitan/'

# Install CodeBlocks


echo Running $RMOD_NAME...
#/usr/lib/zaitan/modulo/mod-checkInstall


cd /usr/share/zaitan

apt-get -y install libgtkmm-2.4-1c2a libgtkmm-2.4-dev build-essential
apt-get -y install build-essential gdb libwxgtk2.6-0 libwxgtk2.6-dev wx2.6-headers wx-common
wget -c http://download.berlios.de/codeblocks/CB_20070426_rev3893_Ubuntu6.xx.deb
dpkg -i CB_20070426_rev3893_Ubuntu6.xx.deb


sleep 2
echo $RMOD_NAME Finibashed...

##Logs
echo $RMOD_NAME-$RMOD_VERSION | tee -a /usr/share/zaitan/logs
/usr/lib/zaitan/modulo/mod-logs
##

exit 0

